setlocal tabstop=2 shiftwidth=2 sts=2

function DartRun()
    :w
    :sp
    :term dart run %
endfunction
command Drun call DartRun()
nnoremap <buffer> sr :call DartRun()<CR>

